package Testinterface;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 涛
 * Date: 2023-09-14
 * Time: 23:27
 */
interface IRunn {
    public abstract void run();
}
interface ISwim {
    public abstract void swim();
}
interface IAmphibious extends ISwim, IRunn {
    @Override
    public void run();

    @Override
    public void swim();
}
class Frog implements IAmphibious {
    @Override
    public void run() {

    }

    @Override
    public void swim() {

    }
}
public class Test3 {
}
